package com.cjw.pojo.query.resourceManage;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author : cjw
 * @date: : 2022/3/7 21:13
 * @description : some
 */
@Data
@ApiModel("添加资源")
public class AddController {

    @ApiModelProperty("接口名称")
    @NotNull
    private String name;

    @ApiModelProperty("url")
    @NotNull
    private String url;

    @ApiModelProperty("所属接口组")
    @NotNull
    private String team;

    @ApiModelProperty("方法名")
    @NotNull
    private String method;

    @ApiModelProperty("id")
    private Long id;
}
